import Axios from './js/Axios'
import CancelToken from './js/CancelToken';
import createInstance from './js/createInstance';

const axios = createInstance({})
axios.Axios = Axios;
axios.create = function (config) {
    return createInstance(config)
}
axios.CancelToken = CancelToken

axios.all = function (promiseArr) {
    return Promise.all(promiseArr);
}

export default axios;